{template admin/head}
<body>
<div class="wrapper">
	<div class="crumbs"><a href="javascript:;">用户管理</a> &gt;<a id="gotoList" href="{SITE_URL}admin.php?a=userM">用户列表</a> &gt; <span>查看用户信息</span> </div>
	<div class="container_tit clearfix mb20 ft14">
		
	<form id="savedata">
		<input type="hidden" name="id" value="{$info[id]}" />
		<h2 class="form_tit">用户信息</h2>
		<div class="form_item clearfix">
		    <p class="clearfix">
				<label class="name">手机号：</label>
				<label style="display: inline-block;line-height: 30px;height: 30px;width: 150px;">{$info[loginname]}</label>
			</p>
		</div>
		<div class="form_item clearfix">
		    <p class="clearfix">
				<label class="name">真实姓名：</label>
				<label style="display: inline-block;line-height: 30px;height: 30px;width: 150px;">{$info[nickname]}</label>
			</p>
		</div>
		<div class="form_item clearfix">
		    <p class="clearfix">
				<label class="name">账户余额：</label>
				<label style="display: inline-block;line-height: 30px;height: 30px;width: 150px;">{$info[account]}</label>
			</p>
		</div>
		<div class="form_item clearfix">
		    <p class="clearfix">
				<label class="name">QQ号码：</label>
				<label style="display: inline-block;line-height: 30px;height: 30px;width: 150px;">{$info[qq]}</label>
			</p>
		</div>
		<div class="form_item clearfix">
		    <p class="clearfix">
				<label class="name">微信号码：</label>
				<label style="display: inline-block;line-height: 30px;height: 30px;width: 150px;">{$info[wx]}</label>
			</p>
		</div>
		<div class="form_item clearfix">
		    <p class="clearfix">
				<label class="name">注册时间：</label>
				<label style="display: inline-block;line-height: 30px;height: 30px;width: 150px;">{php echo time_formart($info['regtime'],2)}</label>
			</p>
		</div>
		<div class="form_item clearfix">
		    <p class="clearfix">
				<label class="name">注册IP：</label>
				<label style="display: inline-block;line-height: 30px;height: 30px;width: 150px;">{php echo long2ip($info['regip'])}</label>
			</p>
		</div>
		<div class="form_item clearfix">
		    <p class="clearfix">
				<label class="name">最后登录时间：</label>
				<label style="display: inline-block;line-height: 30px;height: 30px;width: 150px;">{php echo time_formart($info['lasttime'],2)}</label>
			</p>
		</div>
		<div class="form_item clearfix">
		    <p class="clearfix">
				<label class="name">最后登录IP：</label>
				<label style="display: inline-block;line-height: 30px;height: 30px;width: 150px;">{php echo long2ip($info['lastip'])}</label>
			</p>
		</div>
		<div class="form_item clearfix">
		    <p class="clearfix">
		    	<label class="name">用户账号：</label>
		    	{loop $info['accountlist'] $k $v}
		    		{if $k == 0}
						<label class="mr10" style="display: inline-block;line-height: 30px;height: 30px;">{$v['institution']}</label>
						<label class="mr10" style="display: inline-block;line-height: 30px;height: 30px;">{$v['name']}</label>
						<label class="mr10" style="display: inline-block;line-height: 30px;height: 30px;">{$v['number']}</label>
		    		{else}
		    			<label class="name"></label>
						<label class="mr10" style="display: inline-block;line-height: 30px;height: 30px;">{$v['institution']}</label>
						<label class="mr10" style="display: inline-block;line-height: 30px;height: 30px;">{$v['name']}</label>
						<label class="mr10" style="display: inline-block;line-height: 30px;height: 30px;">{$v['number']}</label>
		    		{/if}
		    		<br>
		    	{/loop}
			</p>
		</div>
		
		<h2 class="form_tit">帐号操作信息</h2>
		<div class="form_item clearfix">
		    <p class="clearfix">
				<label class="name"></label>
				<table class="table">
					<thead>
						<tr class="bg_h_1">
							<th width="">操作内容</th>
							<th width="">操作时间</th>
							<th width="">操作人</th>
						</tr>
					</thead>
					<tbody>
					<!--{loop $info['oplist'] $key $one}-->
						<tr>
							<td style="text-align: center;">{$one['opdesc']}</td>
							<td style="text-align: center;">{php echo time_formart($one['optime'],2)}</td>
							<td style="text-align: center;">{$one['loginname']}</td>
						</tr>
					<!--{/loop}-->
					</tbody>
				</table>
			</p>
		</div>
		
    </form>
    </div>
</div>
</body>
{template admin/foot}
